<?php
/**
 * Author: hades
 * DateTime: 2020/4/20 14:05
 */

namespace App\Validate;


class AppVersionValidate extends Validate {
    public function add() {
        return [
            'version' => 'required|max:250',
            'log' => 'required|max:250',
            'url' => 'required|max:250',
            'must' => 'required|in:0,1',
            'platform' => 'required|in:1,2',
        ];
    }
}
